﻿namespace Usr.Api.Models.Entities;

/// <summary>
/// 菜单角色关系
/// </summary>
[SugarTable("sys_rolerelation")]
public class RoleRelation
{
    /// <summary>
    /// Id
    /// </summary>
    [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
    public long Id { get; set; }
    [SugarColumn(ColumnName = "menuid")]
    public long MenuId { get; set; }
    [SugarColumn(ColumnName = "roleid")]
    public long RoleId { get; set; }
    //[SugarColumn(ColumnName = "account")]
    //public virtual Menu Menu { get; set; } = default!;
}